package com.my.imq.web;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.stereotype.Component;

import com.my.imq.web.root.RootLayout;
import com.my.imq.web.util.BaseApplication;

/**
 * @author <a href="MABDELOUHAB">MABDELOUHAB</a>
 * created 6 févr. 2013
 * @since 
 * @version $Id$
 */
@Configurable(preConstruction = true)
@Component(value = "app")
public class MyImqApplication
    extends BaseApplication
{

    /* (non-Javadoc)
     * @see com.vaadin.Application#init()
     */
    @Override
    public void init()
    {
        RootLayout rootLayout = new RootLayout();
        setMainWindow( rootLayout );
    }

}
